home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12720 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1,comp.lang.apl
  4. Subject: Re: GOTO controversy
  5. Date: Tue, 02 Apr 96 11:56:28 GMT
  6. Organization: none
  7. Message-ID: <828446188snz@genesis.demon.co.uk>
  8. References: <314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <4jo5t6$1ki@socrates.moe.edu.sg> <4jq2en$g2q@news.cais.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4jq2en$g2q@news.cais.com> dlabell@paltech.com "David Labell" writes:
  15.  
  16. >Here's a guy who would rather recurse than loop. I don't mean to be rude, but 
  17. >this is typical of C programmers.
  18.  
  19. Using recursion in preference to a loop is rather atypical of C
  20. programmers. However there is nothing wrong in discussing alternatives in
  21. a thread such as this, especially when related to languages with a more
  22. functional bias.
  23.  
  24. >Why not write it so it says what it does? 
  25.  
  26. For real code that is generally thr correct approach.
  27.  
  28. >Who benefits from your tricks? 
  29.  
  30. Anybody who is interested in a broader understanding of programming issues.
  31.  
  32. >I write this from the standpoint of someone who has spent a career poking 
  33. >through stuff like the above -- writing it weird just so you can say you 
  34. >didn't do ____. 
  35. >
  36. >I'm really tired of it. 
  37.  
  38. Nobody was advocating the use of it (at least not in C).
  39.  
  40. -- 
  41. -----------------------------------------
  42. Lawrence Kirby | fred@genesis.demon.co.uk
  43. Wilts, England | 70734.126@compuserve.com
  44. -----------------------------------------
  45.